#pragma once
#include <YSimpleSystem/Interface.h>
namespace ysimple_system
{
	struct IStream
		: public Interface
	{
		virtual void write(const void* data, size_t len) = 0;
		virtual void read(void* data, size_t len) = 0;
		virtual char* getBuffer() = 0;
		virtual size_t	len() = 0;
	};
}